import {defHttp} from '/@/utils/http/axios';


enum Api {
  list = '/inputsUse/list',
  repush='/inputsUse/dataUp'
}
/**
 * 列表接口
 * @param params
 */
export const list = (params) =>
  defHttp.get({url: Api.list, params});
  
/**
 * 重推上链
 */
export const repush = (params,handleSuccess) => {
  return defHttp.get({url: Api.repush, params}, {joinParamsToUrl: true}).then(() => {
    handleSuccess();
  });
}
